package com.cks.vod;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

//无须加载数据库
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)  //加这个是为了排除数据库报错，没有用到数据库
@ComponentScan(basePackages = {"com.cks"})
public class VodApplication {

    public static void main(String[] args) {
        SpringApplication.run(VodApplication.class,args);
    }
}
